package com.gym.tygglxt.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class EquipmentService implements Serializable {
    private Integer serviceid;

    private Integer equid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date servicestartdate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date serviceenddate;

    private Integer servicestatus;

    private String userid;

    private static final long serialVersionUID = 1L;

    public Integer getServiceid() {
        return serviceid;
    }

    public void setServiceid(Integer serviceid) {
        this.serviceid = serviceid;
    }

    public Integer getEquid() {
        return equid;
    }

    public void setEquid(Integer equid) {
        this.equid = equid;
    }

    public Date getServicestartdate() {
        return servicestartdate;
    }

    public void setServicestartdate(Date servicestartdate) {
        this.servicestartdate = servicestartdate;
    }

    public Date getServiceenddate() {
        return serviceenddate;
    }

    public void setServiceenddate(Date serviceenddate) {
        this.serviceenddate = serviceenddate;
    }

    public Integer getServicestatus() {
        return servicestatus;
    }

    public void setServicestatus(Integer servicestatus) {
        this.servicestatus = servicestatus;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serviceid=").append(serviceid);
        sb.append(", equid=").append(equid);
        sb.append(", servicestartdate=").append(servicestartdate);
        sb.append(", serviceenddate=").append(serviceenddate);
        sb.append(", servicestatus=").append(servicestatus);
        sb.append(", userid=").append(userid);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}